package com.dream.ui.foundation.widgets

import androidx.compose.foundation.layout.IntrinsicSize
import androidx.compose.foundation.layout.width
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.Stable
import androidx.compose.ui.Modifier

/**
 * Author: pengmutian
 * Date: 2025/3/17 17:03
 * Description: TextDefault
 */
@Stable
object TextDefault {
    @Composable
    fun Title(text: String) {
        Text(text, Modifier.width(IntrinsicSize.Max), softWrap = false, maxLines = 1)
    }
}



